package org.example.service.impl;


import org.example.domain.Business;
import org.example.mapper.BusinessMapper;
import org.example.service.BusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 程思彤
* @description 针对表【sys_business】的数据库操作Service实现
* @createDate 2024-05-31 20:48:08
*/
@Service
public class BusinessServiceImpl implements BusinessService{
    @Autowired
    private BusinessMapper businessMapper;

    @Override
    public List<Business> listAll() {
        return businessMapper.listAll();
    }
}




